namespace :bilibiliranking do
  desc "bilibili ranking example pickup"
  task :pickup => :environment do
    require 'lib/tasks/vegas_video_maker.rb'
    require 'lib/tasks/bili_ranking_maker.rb'
    include VegasVideoMaker
    BRM.create({:path => "#{BILI_PRO_PATH}#{ENV['pa']}\\"}) do |vvm|
      vvm.pickup
    end
  end
end